// JavaScript Document
var user = {
	m_viewBox:null,
	//显示修改博客名
	showTitleEditor:function(){
		$("bloggerTitleH1").style.display = "none";
		$("bloggerTitleDiv").style.display = "";
		$("bloggerTitleText").value = $('bloggerTitleH1').innerHTML;
	},
	cancelEditBloggerTitle:function(){
		$("bloggerTitleH1").style.display = "";
		$("bloggerTitleDiv").style.display = "none";
	},
	showDescEditor:function(){
		$("bloggerDescription").style.display = "none";
		$("bloggerDescDiv").style.display = "";
		$("bloggerDescText").value = $('bloggerDescription').innerHTML;
	},
	cancelBloggerDesc:function(){
		$("bloggerDescription").style.display = "";
		$("bloggerDescDiv").style.display = "none";
	},
	showBloggerNameEditor:function(id){
		str="<center><span id='urlinfo'><span id='errinfo'></span><br ><font color=black>http://localhost:8080/member/ <input type='text' id='urlTest' style='width:18%;' class='txt01' onfocus='this.className=\"txt02\"' onblur='this.className=\"txt01\"' value='"+id+"' /></font> <br /><br /><input type='submit' value='保&nbsp;存' onclick='saveURL();' class='btn03 ml20' />  <input type='reset' value='取&nbsp;消' onclick='user.cancelURL();' class='btn02' onmouseover='this.className=\"btn03\"' onmouseout='this.className=\"btn02\"'/></span></center>";
		this.m_viewBox=new PopupWindow({windowId:"m_ViewMessagBoxId",mode:2,paramString:str,windowCSS:"m_message transbox",barCSS:"tr",zIndex:10});
	},
	cancelURL:function(){
		this.m_viewBox.hide();//
	}
	
	
	
	
	
	
	
	
	
}